package com.zh.spring.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述：com.zh.spring.controller
 *
 * @author 80002023
 *         2016/12/28.
 * @version 1.0
 * @since 1.8
 */
@RestController
public class HomeCtrl {

    @GetMapping("/")
    public String home(){
        return "Hello world!";
    }
}
